<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="<%= BASE_URL %>logo.png">
    <title>电小童后台管理系统</title>
    <script src="https://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script>
    <script src="./static/echarts.min.js"></script>
    <script src="./static/init.js"></script>
    <script charset="utf-8" src="https://map.qq.com/api/js?v=2.exp&key=OKTBZ-K4GKD-6YH46-HXEQ2-YKTAT-JOF7W"></script>
    <script src="./static/qrcode.min.js"></script>
    <script>
      document.documentElement.style.fontSize = document.documentElement.clientWidth / 7.5 + 'px';
      Date.prototype.format = function (str = 'yyyy-MM-dd') {
        var json = {};
        json.yyyy = this.getFullYear();
        json.M = this.getMonth() + 1;
        json.d = this.getDate();
        json.MM = json.M > 9 ? json.M : '0' + json.M;
        json.dd = json.d > 9 ? json.d : '0' + json.d;

        json.H = this.getHours();
        json.m = this.getMinutes();
        json.s = this.getSeconds();
        json.HH = json.H > 9 ? json.H : '0' + json.H;
        json.mm = json.m > 9 ? json.m : '0' + json.m;
        json.ss = json.s > 9 ? json.s : '0' + json.s;

        var regArr = [ 'yyyy', 'MM', 'M', 'dd', 'd', 'HH', 'H', 'mm', 'm', 'ss', 's' ];
        regArr.forEach(ele => {
          str = str.replace(ele, json[ele]);
        });
        return str;
      }
    </script>
  </head>
  <body>
    <div id="content"></div>
  </body>
</html>
